<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
  <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<table class="table table-striped">
  <thead>
  <tr>
    <th>文件UUID</th>
    <th>文件大小</th>
    <th>文件类型</th>
    <th>文件原始名</th>
    <th>文件创建时间</th>
    <th>文件保存路径</th>
    <th>文件签名</th>
  </tr>
  </thead>
  <tbody>
  <tr th:each="f:${fileInfos}">
    <td>
      <p th:text="${f.uuid}"></p>
      <a th:href="@{/download(uuid=${f.uuid},originName=${f.fileOriginName},signature=${f.fileSignature})}"
         class="btn btn-primary">下载</a>
    </td>
    <td th:text="${f.fileSize}"></td>
    <td th:text="${f.fileType}"></td>
    <td th:text="${f.fileOriginName}"></td>
    <td th:text="${f.fileCreateTime}"></td>
    <td th:text="${f.filePath}"></td>
    <td th:text="${f.fileSignature}"></td>
  </tr>
  </tbody>
</table>
<div class="row">
  <div class="col-md-3 col-md-offset-3"></div>
  <a class="btn btn-primary" href="/">返回</a>
</div>
</body>
</html>
